#include <stdio.h>
#include <malloc.h>

typedef struct Person{
    unsigned int a;
    int b;
}Human;

int main(){
    Human *person1 = (Human*)malloc(sizeof(Human));
    struct Person* person2 = (struct Person*)malloc(sizeof(struct Person));
    person2 -> a = 33;
    person2 -> b = 66;
    printf("sizeof(Human) = %d\n", sizeof(Human));
    printf("sizeof(struct Person) = %d\n", sizeof(struct Person));
    person1 -> a = 44;
    person1 -> b = 22;

    printf("person1 -> a = %d\n", person1 -> a);
    printf("person1 -> b = %d\n", person1 -> b);
    printf("person2 -> a = %d\n", person2 -> a);
    printf("person2 -> b = %d\n", person2 -> b);
    getchar();
}
